package com.cskaoyan.market.admin.service;


import com.cskaoyan.market.admin.vo.CategoryFatherVo;
import com.cskaoyan.market.admin.vo.CategoryListVo;
import com.cskaoyan.market.admin.vo.CategoryVo;
import com.cskaoyan.market.db.domain.MarketCategory;

import java.util.List;

public interface MarketAdminCategoryService {
    List<CategoryListVo> getList();

    MarketCategory createCategory(String desc, String iconUrl, String keywords, String level,String name, String picUrl, Integer pid);

    void updateCategory(String desc, String iconUrl, Integer id, String keywords, String level, String name, String picUrl, Integer pid);

    List<CategoryFatherVo> getL1();

    void deleteCategory(Integer id);
}
